package com.jplus.enums;

import lombok.Getter;

@Getter
public enum OrderTypeEnum {

    /**
     * 数字不可以以0开头，不然就是8进制的数据了
     */
    PLACE_ORDER(1000, "下订单"),
    TAKE_AN_ORDER(2000, "接订单")
    ;

    private Integer code;

    private String message;

    OrderTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
